<template>
  <div>
    <view class="container">
      <view class="pageH5">
        <web-view :hidden="hide" :src="url" @load="loadSuccess" @error="loadFail"></web-view>
      </view>
    </view>
  </div>
</template>

<script>

  export default {
    data() {
      return {
        url: '',
        title: '',
      }
    },
    onLoad(options) {
      console.log(options)
      this.url = options.pageUrl
      this.$wx.setTitleBarTitle(options.pageTitle)
    },
    onShow() {
    },
    methods: {
      loadSuccess(e) {
        console.log(e,'loadSuccess')
      },
      loadFail(e) {
        console.log(e,'loadFail')
      }
    },
    created() {
    }
  }
</script>

<style scoped>
</style>
